package com.safe.app.utils.exceptions.base;

import com.safe.app.utils.exceptions.BaseException;
import com.safe.app.utils.exceptions.enums.ExceptionCause;

/**
 * 访问异常 抛出 400 坏的请求 参数不完整
 */
public class BadRequestException extends BaseException {
    private static final long serialVersionUID = -7303374187724238548L;

    public BadRequestException() {
        super();
    }

    public BadRequestException(String err) {
        super(err);
    }

    @Override
    public String causedBy() {
        return ExceptionCause.badRequest.name();
    }


}
